package com.wish.wishhouse_foreclosure.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 银行代码表
 * </p>
 *
 * @author zhangshuxin
 * @since 2021-04-02
 */

@EqualsAndHashCode(callSuper = false)
@TableName("t_m_bank")
public class TMBank implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商业银行名称
     */
    @TableField("bank_name")
    private String bankName;

    /**
     * 商业银行编号（拉卡拉）
     */
    @TableField("bank_code_lkl")
    private String bankCodeLkl;

    /**
     * 备注
     */
    @TableField("remarks")
    private String remarks;

    /**
     * 预留字段1
     */
    @TableField("reserve1")
    private Date reserve1;

    /**
     * 预留字段2
     */
    @TableField("reserve2")
    private Integer reserve2;

    /**
     * 预留字段3
     */
    @TableField("reserve3")
    private String reserve3;

    /**
     * 预留字段4
     */
    @TableField("reserve4")
    private String reserve4;

    /**
     * 预留字段5
     */
    @TableField("reserve5")
    private String reserve5;

    /**
     * 删除标识。0:未删除，1：删除
     */
    @TableField("del_flg")
    private Integer delFlg;

    /**
     * 创建用户ID
     */
    @TableField("create_userid")
    private Long createUserid;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 更新用户ID
     */
    @TableField("update_userid")
    private Long updateUserid;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public String getBankName() {
        return bankName;
    }

    public String getBankCodeLkl() {
        return bankCodeLkl;
    }

    public String getRemarks() {
        return remarks;
    }

    public Date getReserve1() {
        return reserve1;
    }

    public Integer getReserve2() {
        return reserve2;
    }

    public String getReserve3() {
        return reserve3;
    }

    public String getReserve4() {
        return reserve4;
    }

    public String getReserve5() {
        return reserve5;
    }

    public Integer getDelFlg() {
        return delFlg;
    }

    public Long getCreateUserid() {
        return createUserid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Long getUpdateUserid() {
        return updateUserid;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public void setBankCodeLkl(String bankCodeLkl) {
        this.bankCodeLkl = bankCodeLkl;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public void setReserve1(Date reserve1) {
        this.reserve1 = reserve1;
    }

    public void setReserve2(Integer reserve2) {
        this.reserve2 = reserve2;
    }

    public void setReserve3(String reserve3) {
        this.reserve3 = reserve3;
    }

    public void setReserve4(String reserve4) {
        this.reserve4 = reserve4;
    }

    public void setReserve5(String reserve5) {
        this.reserve5 = reserve5;
    }

    public void setDelFlg(Integer delFlg) {
        this.delFlg = delFlg;
    }

    public void setCreateUserid(Long createUserid) {
        this.createUserid = createUserid;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setUpdateUserid(Long updateUserid) {
        this.updateUserid = updateUserid;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "TMBank{" +
                "id=" + id +
                ", bankName='" + bankName + '\'' +
                ", bankCodeLkl='" + bankCodeLkl + '\'' +
                ", remarks='" + remarks + '\'' +
                ", reserve1=" + reserve1 +
                ", reserve2=" + reserve2 +
                ", reserve3='" + reserve3 + '\'' +
                ", reserve4='" + reserve4 + '\'' +
                ", reserve5='" + reserve5 + '\'' +
                ", delFlg=" + delFlg +
                ", createUserid=" + createUserid +
                ", createTime=" + createTime +
                ", updateUserid=" + updateUserid +
                ", updateTime=" + updateTime +
                '}';
    }

    public TMBank() {
    }
}
